#-----------------------------------------------------------#
#  죄와벌++ 이율배반										#
#  Copyright(C) 2001-2002 by Vivid Studio. BLANK BOARD		#
#  Vivid Studio.[ http://www17.big.or.jp/~obochan/vivid/ ]	#
#  BLANK BOARD [ http://pom.to ]							#
#-----------------------------------------------------------#
# 쇼핑 PC용 파츠 1	Version 1.7							#
#--- [주의 사항] --------------------------------------------#
# 1. 이 스크립트는 이하의 이용 규정에 따라 배포하고 있습니다. 	#
#   http://www24.big.or.jp/~obo/game/ore_/gild/				#
#############################################################
# 이하 처리 기본적으로 이것 이하는 만지지 않게.

#-------------------------------------------------------------------------------
# 무기(쇼핑)
sub bugu_s{

	$log.=<<EOM;
<form action=$script method=$method name=ore_>
<input type=hidden name=id value="$id">
<input type=hidden name=pw value="$pw_p">
<input type=hidden name=cmd value=-1>

<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr align=center bgcolor="#ccccee">
<td>&nbsp;</td>
<td>무기</td>
<td>가격</td>
<td>회수</td>
<td>설명</td>
</tr>
EOM

	foreach(11 .. $#dg_data){
		$log .=qq|<tr align="center" bgcolor="#ccccee">\n|;
		$log .=qq|<td><input type="radio" value="$_" name="cmd" class="a5">\n|;
		$log .=qq|<td>$dg_data[$_][1]</td><td>$dg_data[$_][2]</td><td>$dg_data[$_][3]</td><td>$dg_data[$_][5]</td></tr>\n|;
	}
	$log .=qq|</table>\n|;
	$log .=qq|<tt><br></tt><input type=submit value="구입/그만두는" class="button1"></form>\n|;

	$layout_flag=1;
}

#-------------------------------------------------------------------------------
# 방어구(쇼핑)
sub bogu_s{

	$log.=<<EOM;
<form action=$script method=$method name=ore_>
<input type=hidden name=id value="$id_p">
<input type=hidden name=pw value="$pw_p">
<input type=hidden name=cmd value=-1>

<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr align=center bgcolor="#ccccee">
<td>&nbsp;</td>
<td>방어구</td>
<td>가격</td>
<td>회수</td>
<td>설명</td>
</tr>
EOM

	foreach(11 .. $#df_data){
		$log .=qq|<tr align="center" bgcolor="#ccccee">\n|;
		$log .=qq|<td><input type="radio" value="$_" name="cmd" class="a5">\n|;
		$log .=qq|<td>$df_data[$_][1]</td><td>$df_data[$_][2]</td><td>$df_data[$_][3]</td><td>$df_data[$_][5]</td></tr>\n|;
	}
	$log .=qq|</table>\n|;
	$log .=qq|<tt><br></tt><input type="submit" value="구입/그만두는" class="button1"></form>\n|;

	$layout_flag=1;
}

#-------------------------------------------------------------------------------
# 방패(쇼핑)
sub bogu_s2{

	$log.=<<EOM;
<form action=$script method=$method name=ore_>
<input type=hidden name=id value="$id_p">
<input type=hidden name=pw value="$pw_p">
<input type=hidden name=cmd value=-1>

<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr align=center bgcolor="#ccccee">
<td>&nbsp;</td>
<td>방어구</td>
<td>가격</td>
<td>회수</td>
<td>설명</td>
</tr>
EOM

	foreach(11 .. $#ds_data){
		$log .=qq|<tr align="center" bgcolor="#ccccee">\n|;
		$log .=qq|<td><input type="radio" value="$_" name="cmd" class="a5">\n|;
		$log .=qq|<td>$ds_data[$_][1]</td><td>$ds_data[$_][2]</td><td>$ds_data[$_][3]</td><td>$ds_data[$_][5]</td></tr>\n|;
	}
	$log .=qq|</table>\n|;
	$log .=qq|<tt><br></tt><input type="submit" value="구입/그만두는" class="button1"></form>\n|;

	$layout_flag=1;
}

#-------------------------------------------------------------------------------
# 도구(쇼핑)
sub dogu_s{
	$log.=<<EOM;
<form action=$script method=$method name=ore_>
<input type=hidden name=id value="$id_p">
<input type=hidden name=pw value="$pw_p">
<input type=hidden name=cmd value=-1>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr align=center bgcolor="#ccccee">
<td>&nbsp;</td>
<td>도구</td>
<td>가격</td>
<td>회수</td>
<td>설명</td>
</tr>
EOM

	foreach(11 .. $#di_data){
		$log .=qq|<tr align="center" bgcolor="#ccccee">\n|;
		$log .=qq|<td><input type="radio" value="$_" name="cmd" class="a5">\n|;
		$log .=qq|<td>$di_data[$_][1]</td><td>$di_data[$_][2]</td><td>$di_data[$_][3]</td><td>$di_data[$_][4]</td></tr>\n|;
	}
	$log .=qq|</table>\n|;
	$log .=qq|<tt><br></tt><input type="submit" value="구입/그만두는" class="button1"></form>\n|;

	$layout_flag=1;
}





1;#삭제 불가
